/*
 * @Author: chen17
 * @Date: 2022-03-14 16:25:47
 * @LastEditTime: 2022-03-25 16:13:26
 * @Description: 页面标题设置
 */
import config from '@/config'

const title = config.title

export default function getPageTitle(pageTitle) {
    if (pageTitle) {
        return `${pageTitle} - ${title}`
    }
    return `${title}`
}
